package com.eightbears.beboy.entity;

import android.app.Activity;

import java.io.Serializable;
import java.util.List;

public class StaticDataEntity implements Serializable {

    private String message;
    private String status_code;
    private StatusData data;

    public static class StatusData implements Serializable {
        private String agreement_url;
        private String management_url;
        private String complaint_url;
        private AppVersion version;
        private ReleaseData release;
        private ActivityMoney activity;

        public ActivityMoney getActivity() {
            return activity;
        }

        public void setActivity(ActivityMoney activity) {
            this.activity = activity;
        }

        private List<Districts> public_districts;

        public List<Districts> getPublic_districts() {
            return public_districts;
        }

        public void setPublic_districts(List<Districts> public_districts) {
            this.public_districts = public_districts;
        }

        public ReleaseData getRelease() {
            return release;
        }

        public void setRelease(ReleaseData release) {
            this.release = release;
        }

        public String getComplaint_url() {
            return complaint_url;
        }

        public void setComplaint_url(String complaint_url) {
            this.complaint_url = complaint_url;
        }

        public AppVersion getVersion() {
            return version;
        }

        public void setVersion(AppVersion version) {
            this.version = version;
        }

        public String getAgreement_url() {
            return agreement_url;
        }

        public void setAgreement_url(String agreement_url) {
            this.agreement_url = agreement_url;
        }

        public String getManagement_url() {
            return management_url;
        }

        public void setManagement_url(String management_url) {
            this.management_url = management_url;
        }

        @Override
        public String toString() {
            return "StatusData{" +
                    "agreement_url='" + agreement_url + '\'' +
                    ", management_url='" + management_url + '\'' +
                    ", complaint_url='" + complaint_url + '\'' +
                    ", version=" + version +
                    ", release=" + release +
                    ", public_districts=" + public_districts +
                    '}';
        }
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getStatus_code() {
        return status_code;
    }

    public void setStatus_code(String status_code) {
        this.status_code = status_code;
    }

    public StatusData getData() {
        return data;
    }

    public void setData(StatusData data) {
        this.data = data;
    }


    public static class AppVersion implements Serializable {
        private int android_newest_version;
        private int android_lowest_version;
        private int district_version;

        public int getAndroid_newest_version() {
            return android_newest_version;
        }

        public void setAndroid_newest_version(int android_newest_version) {
            this.android_newest_version = android_newest_version;
        }

        public int getAndroid_lowest_version() {
            return android_lowest_version;
        }

        public void setAndroid_lowest_version(int android_lowest_version) {
            this.android_lowest_version = android_lowest_version;
        }


        public int getDistrict_version() {
            return district_version;
        }

        public void setDistrict_version(int district_version) {
            this.district_version = district_version;
        }

        @Override
        public String toString() {
            return "AppVersion{" +
                    "android_newest_version=" + android_newest_version +
                    ", android_lowest_version=" + android_lowest_version +
                    ", district_version=" + district_version +
                    '}';
        }
    }

    public static class ActivityMoney implements Serializable {
        private Cash i_want_cash;

        public Cash getI_want_cash() {
            return i_want_cash;
        }

        public void setI_want_cash(Cash i_want_cash) {
            this.i_want_cash = i_want_cash;
        }
    }

    public static class Cash implements Serializable {
        private int flag;

        public int getFlag() {
            return flag;
        }

        public void setFlag(int flag) {
            this.flag = flag;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        private String logo;
    }

    public static class ReleaseData implements Serializable {
        private String android;

        public String getAndroid() {
            return android;
        }

        public void setAndroid(String android) {
            this.android = android;
        }

        @Override
        public String toString() {
            return "ReleaseData{" +
                    "android='" + android + '\'' +
                    '}';
        }
    }

    public static class Districts implements Serializable {

        private String id;
        private String name;
        private String pinyin;
        private String type;


        public Districts(String name, String pinyin) {
            this.name = name;
            this.pinyin = pinyin;
        }

        public String getPinyin() {
            return pinyin;
        }

        public void setPinyin(String pinyin) {
            this.pinyin = pinyin;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        @Override
        public String toString() {
            return "Districts{" +
                    "id='" + id + '\'' +
                    ", name='" + name + '\'' +
                    ", pinyin='" + pinyin + '\'' +
                    ", type='" + type + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "StaticDataEntity{" +
                "message='" + message + '\'' +
                ", status_code='" + status_code + '\'' +
                ", data=" + data +
                '}';
    }
}
